<?php
return [
    'alias'    => [
        'adminRoute'   => \app\common\middleware\IsAdminRoute::class,
        'withoutLogin' => \app\common\middleware\WithoutLogin::class,
        'apiTest'      => \app\common\middleware\ApiTest::class,
    ],
    'priority' => [
        \app\common\middleware\ApiTest::class,
        \app\common\middleware\Init::class,
        // 后台路由
        \app\common\middleware\IsAdminRoute::class,
        // 无需登录
        \app\common\middleware\WithoutLogin::class,
        // 绑定用户
        app\common\middleware\BindLoginUser::class,
    ],
];
